home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PRINTER / EPSON.ARJ / LQCHAR.DOC < prev    next >
Text File  |  1989-07-19  |  15KB  |  300 lines

  1.                                   LQCHAR.DOC
  2.                                   ----------
  3.                          Instructions for LQCHAR.COM
  4.                             Version 1.1 (1/15/89)
  5.  
  6.                                (c)1989 E.Meyer
  7.  
  8.  
  9.         Requires:   IBM PC compatible video adapter
  10.                     Epson LQ compatible dot matrix printer
  11.  
  12.  
  13.      LQCHAR is a small, efficient utility for designing downloaded character 
  14. fonts for Epson LQ-compatible 24-pin dot matrix printers.  It will run on any 
  15. MSDOS 2.x or 3.x system with an IBM compatible video adapter (MDA, CGA, EGA, 
  16. VGA).  LQCHAR lets you design each character individually on screen, and 
  17. builds up a disk file containing all the character definitions.  This file can 
  18. then be sent to your printer anytime you wish to use the font.
  19.  
  20.      The ability of many dot matrix printers to accept downloaded fonts makes 
  21. them far more versatile than formed-character (daisy wheel) printers.  You can 
  22. change fonts in the middle of printing without touching your printer, and you 
  23. can design any characters you like.  (Combined with the font definition 
  24. ability of the EGA/VGA adapter, this allows word processing in a wide variety 
  25. of typefaces, using ordinary off-the-shelf software.  I recommend an excellent 
  26. freeware screen font editor called CHET.ARC, from Mylex Corp.)
  27.  
  28.      LQCHAR is freeware: I do not require contributions.  However, if you 
  29. design some really nice fonts with it (artsy, foreign, whatever), please 
  30. consider sending me a copy of the LQC files.
  31.  
  32. ABOUT YOUR PRINTER...
  33.  
  34.      LQCHAR should work with any Epson LQ compatible printer; I use it with a 
  35. 24-pin Alps ALQ-200.  But no manual I've ever seen describes the design and 
  36. use of downloaded fonts in a comprehensible fashion, and I suspect that some 
  37. details may vary from one printer to another.  Anything I say below applies to 
  38. the Alps, and "probably" to your LQ printer (Epson or whatever) as well.
  39.      First let's clear up some terminology:
  40.            MODE - What you select with the ESC-x command (Draft, LQ, etc).
  41.            FONT - A set of characters designed in a given mode.
  42.       FONT TYPE - Whether the font includes undefined characters (see below).
  43.           PITCH - Spacing of a given font (Pica, Elite, etc).
  44.    PROPORTIONAL - This is a variety of PITCH, not of FONT!
  45.  
  46.      LQCHAR designs fonts in either of two modes: Draft or Letter Quality 
  47. (LQ).  Some printers have a third print mode, "High density", that falls in 
  48. between; LQCHAR does not support this mode.  Some printers have a third 
  49. "Proportional" mode with an even larger dot pattern; LQCHAR does not support 
  50. this either.  However, an LQ font designed with LQCHAR can be declared 
  51. proportionally spaced!  (Don't get confused between the two.)
  52.  
  53.  
  54.  
  55. ----------------------------  DESIGNING FONTS  -------------------------------
  56.  
  57.  
  58. TYPE:                      A>lqchar FONTNAME
  59.  
  60. FONTNAME: a 1 to 8 character name for the font.  Do not specify the ".TYP" of 
  61.     the file; LQCHAR will automatically make it ".LQC".
  62.          * A disk or directory may precede the fontname.
  63.          * An option may follow the fontname:
  64.                  NO option - EDIT the font file
  65.                         /P - send it to the PRINTER
  66.                         /U - send to the printer and start USING it
  67.  
  68.      You can get this help message onscreen by typing "LQCHAR /?".
  69.  
  70.  
  71.      If you are starting a new font from scratch, you will have to declare it 
  72. to be either Draft or LQ mode; and you will start out with every character 
  73. blank.  I have included two files called DRAFT.LQC and LETTER.LQC, containing 
  74. a full plain ASCII font for each print mode.  These are often a good point of 
  75. departure for designing modified fonts.  You can use them to get a feel for 
  76. the program, simply by typing:
  77.  
  78.                    A>lqchar draft    OR     A>lqchar letter
  79.  
  80.      Once you are in LQCHAR, you will see a "box" on the left side of the 
  81. screen, in which each character will appear, dot by dot.  The character matrix 
  82. is always 24 dot rows high; its width varies according to the print mode: 9 
  83. dot columns for Draft, 29 for LQ.  (Note: in Draft mode LQCHAR spreads out 
  84. each dot by a factor of 3 so as not unduly to distort the aspect ratio.)  
  85. Background shading indicates the vertical boundaries of a normal capital 
  86. letter.  The rows above are available for accents, etc; those below, for 
  87. descenders.  The bottommost row is normally reserved for underlining.
  88.  
  89.      To the right you will see a header with general information about the 
  90. font, and the cursor on a prompt that says "Character".  Below will appear a 
  91. list of characters, with those that are already defined highlighted, for 
  92. reference.  At this point you can do a variety of things.
  93.  
  94. MODIFYING THE ENTIRE FONT
  95.  
  96.      First, several commands can be used to modify the whole font in some way:
  97.  
  98.              <F1> -  Change PITCH between pica, elite, and proportional
  99.              <F2> -  Change FONT TYPE between full and partial
  100.              <F3> -  Change PRINT MODE from Draft to LQ
  101.             <ESC> -  EXIT to Save Menu
  102.  
  103. When you use the <F1-F3> commands, you will see the information in the header 
  104. change appropriately.  Nothing is changed on disk until you Save the font.
  105.  
  106.      PITCH:  The font can be stored as Pica, Elite, or Proportional (selected 
  107. with the <F1> key).  This choice affects only the spacing between characters, 
  108. not the size of the characters themselves:  Pica prints 10 characters per inch 
  109. (cpi), Elite prints a more compact 12 cpi, and Proportional is also about 12 
  110. cpi but will vary according to the actual width of the characters.
  111.  
  112.      FONT TYPE:  The font can be stored as Full or Partial (selected with the 
  113. <F2> key).  The only difference concerns characters that you have NOT defined: 
  114. in a Full font, they simply won't print.  In a Partial font, the printer's 
  115. resident font will "show through" any gaps; so a Partial font is an easy way 
  116. to modify just a few characters.
  117.  
  118.      PRINT MODE:  It is possible (with the <F3> key) to expand a Draft font 
  119. into a sort of skeleton LQ font.  LQCHAR simply expands each character to fit 
  120. the larger LQ pattern, leaving blank columns in between; you can enhance and 
  121. fill in the gaps however you like.  You cannot turn an LQ font back into a 
  122. Draft font.
  123.  
  124.      The SAVE MENU gives you the choice of saving your modifications to disk, 
  125. or simply quitting without saving them.  You can also specify a new font name 
  126. to save to, if desired.
  127.  
  128. MODIFYING INDIVIDUAL CHARACTERS
  129.  
  130.      Second, you can examine and modify individual characters:
  131.  
  132.        ARROW KEYS -  Display previous/next character
  133.     Any character -  Display the character typed
  134.          <RETURN> -  Edit the character shown
  135.  
  136. Select the standard character whose ASCII code corresponds to that of the new 
  137. character you wish to create.  You may choose any character from 21H to 7EH 
  138. (33 to 126 decimal, "!" to "~").  If you pick an already defined character, 
  139. you will be modifying it.  For example, if you've loaded DRAFT.LQC, and type 
  140. "A", you should see that character in the box.
  141.  
  142.      If you then hit <RETURN>, you may edit the character.  Note that your 
  143. cursor is now inside the box.  You can move it around with your arrow keys 
  144. (see below).  The spacebar or keypad [5] key will toggle the pixel you are 
  145. pointing to ON and OFF.  Thus you can build up the pattern of dots that will 
  146. form your character.
  147.  
  148.      There are many other special commands available in this mode, to make 
  149. modifying characters easier; a reminder of them is visible below for reference 
  150. during editing.  These are:
  151.  
  152.          R,L,U,D  -  move the whole pattern RIGHT, LEFT, UP, or DOWN.
  153.                C  -  COPY the pattern from another defined character.
  154.                B  -  BLANK the whole pattern out to start over.
  155.                P  -  PREVIEW a character in hi-res graphics. (EGA only!)
  156.          <F1,F2>  -  move current COLUMN up, down.
  157.          <F3,F4>  -  move current ROW left, right.
  158.          <F5,F6>  -  insert, delete a COLUMN.
  159.          <F7,F8>  -  insert, delete a ROW.
  160.          <F9,F0>  -  ROTATE left, right.
  161.  
  162.      NOTE: The PREVIEW command works ONLY on an EGA adapter.  It shows you a 
  163. more realistic, miniature picture of the present character, using higher 
  164. resolution graphics.  Press ESC to remove this and continue editing.
  165.  
  166.      Of the remaining commands, only "rotate" is a bit tricky: this changes 
  167. the overall slant of a character.  Be sure the character isn't too wide, and 
  168. is roughly centered in the box, or parts of it will get lost.  Note that the 
  169. rotation works in increments of 2 rows; thus moving the character up or down 
  170. one row first can give a slightly different effect.  Also, if you're going to 
  171. rotate twice or more, you should do this each time in between to get the 
  172. smoothest effect.
  173.  
  174.      When done, you can press either:
  175.  
  176.               <RETURN> -  SAVE the character for now
  177.           or     <ESC> -  QUIT without saving it
  178.  
  179. Upon saving, automatic centering causes the pattern to move to the middle of 
  180. the box.  Note that you will not be able to save a definition that violates 
  181. the following rule:
  182.  
  183.           --->  No two adjacent pixels in any ROW may be ON!  <---
  184.  
  185. This is a physical limitation of the printhead: the pins can't fire fast 
  186. enough to print twice in adjacent columns.  You could send such a character 
  187. definition to the printer, but the second dot wouldn't print as intended, so 
  188. LQCHAR warns you to avoid mistakes.
  189.  
  190.  
  191.  
  192. ----------------------  PRINTING WITH DOWNLOADED FONTS  ---------------------- 
  193.  
  194.  
  195.      The fonts designed with LQCHAR should have a filetype of ".LQC", for 
  196. ready identification.  Typically they range in size from 1k to 5k, depending 
  197. on how many characters are defined (also, Partial or LQ fonts are relatively 
  198. larger).  They must be loaded into your printer's memory in order to be used.  
  199. This is done with the "/P" option:
  200.  
  201.                           A>lqchar fontname /p
  202.  
  203. This command can be given, for example, before you enter your word processor, 
  204. or (hopefully) from some kind of DOS gateway within it.  The font is now ready 
  205. for use.  In order for this to work, your software MUST be installed to give 
  206. the printer commands to switch to the downloaded font when required.  For 
  207. example, in WordStar 4, you might have your print controls set up so that ^PA 
  208. enables the downloaded (alternate) font, and ^PN goes back to the normal font. 
  209. Thus you can alternate between two completely different fonts.
  210.  
  211.      If you don't have LQCHAR handy, you can also use the ordinary DOS COPY 
  212. command to do this.  You will have to specify the filetype though:
  213.  
  214.                           A>copy fontname.LQC prn
  215.  
  216.      Alternatively, you may want to be using the downloaded font alone, rather 
  217. than switching back and forth between it and the normal font.  (This is how 
  218. you will typically use a Partial font.)  In this case, you want the font to 
  219. take effect immediately upon loading.  Use the "/U" option instead:
  220.  
  221.                           A>lqchar fontname /u
  222.  
  223. After loading the font, LQCHAR will enable it, so that all subsequent printing 
  224. will be using the downloaded font.  Your word processing software doesn't need 
  225. to know a thing about it.  In order for this to work, your software MUST NOT 
  226. use any printer commands to change the font after you've run LQCHAR.
  227.  
  228.  
  229. MORE ABOUT DOWNLOADED FONTS:
  230.  
  231.      In any event, you will have to be careful that your software does not 
  232. send commands to the printer that will cancel the font loaded with LQCHAR.  
  233. This may include certain "global reset" commands that programs often use to 
  234. initialize the printer.  If you can't get a downloaded font to work, try 
  235. reloading it with the "/U" option, then printing something with a simple DOS 
  236. command like "COPY filename PRN".  If this does work, your problem is with the 
  237. printer initialization in your software; see your manual for how to modify it.
  238.  
  239.      Your printer can keep only one downloaded font in memory at once; if you 
  240. load a second font it will replace the first.  After using LQCHAR, you can 
  241. change between Draft and LQ modes, but of course the printer's resident font 
  242. will be used in the other mode.
  243.  
  244.      Downloaded fonts do function a bit differently than the printer's 
  245. resident font.  They should respond nicely to all the usual enhancements: 
  246. expanded, compressed, emphasized, italics etc.  (This may depend on your 
  247. printer; these all work on my Alps.)  But there are two firm limitations:
  248.          1.  True super/subscripts will NOT work, as these miniature 
  249.     characters have to be defined separately, on an 18-pin high matrix, and 
  250.     LQCHAR doesn't do this.  If you need these, you may be able to install 
  251.     your software to do subscripting with platen rolls instead.
  252.          2.  You cannot use printer commands to vary the pitch of a downloaded 
  253.     font: it is fixed at pica, elite, or proportional, depending on your 
  254.     selection in LQCHAR.  (You can, of course, create LQC files with the same 
  255.     font in different pitches.)
  256.  
  257.  
  258. --------------------------  TECHNICAL INFORMATION  --------------------------- 
  259.  
  260. LQC FILE FORMAT:
  261.  
  262.      The output file for a full font consists of an ESC sequence to set the 
  263. print mode (draft/LQ), then a long ESC sequence defining every ASCII character 
  264. from hex 20 to 7E.  (LQCHAR defines 20H as space, automatically.)  For a 
  265. partial font, the file instead contains the ESC sequence to copy the resident 
  266. font, then a separate ESC sequence for each defined character individually.
  267.      This means that if you don't have LQCHAR handy, you can simply load LQC 
  268. fonts with the DOS COPY command: they contain nothing but standard Epson ESC 
  269. sequences.  However -- there too many details about the way the character 
  270. definitions must be formatted to explain here.  I do NOT recommend that you 
  271. try to convert files from other sources into LQC files for use with LQCHAR.  
  272. There are just too many details, and LQCHAR might crash if its data isn't in 
  273. an expected form.
  274.      LQCHAR can, however, read LQC files created by the earlier CP/M version 
  275. of the program (LQCHAR 1.1, 8/87).
  276.  
  277.  
  278. ERROR MESSAGES:
  279.  
  280.      NAME.LQC not found!  - The named font file does not exist.
  281.      -I/O error-          - Error reading or writing disk file.
  282.      -Data error-         - File does not appear to be valid font file.
  283.  
  284.  
  285. VERSION HISTORY:
  286.  
  287.      LQCHAR 1.0 (6/88) was developed from my earlier Z80 CP/M program of the 
  288. same name (version 1.1, 8/87), with a number of added features.
  289.      v 1.1 (1/89) - adds hi-res preview for EGA systems; small improvements.
  290.  
  291.  
  292.      LQCHAR and its documentation are (c)1989 E.Meyer, all rights reserved.  
  293. They may be freely distributed, but not modified or sold for profit without 
  294. my written consent.  The user takes full responsibility for any damages 
  295. resulting from the use (or misuse) of this program.  Please report any 
  296. problems encountered.
  297.  
  298.                  Eric Meyer
  299.             401 12th Ave SE #139             CompuServe [74415,1305]
  300.               Norman, OK  73031